package com.kehongborui.spring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zhang peng yang ming
 * @CopyRight (C) http://www.csdn.com
 * @brief
 * @email 122162005@qq.com
 * @date 2018-08-01
 */
@Controller
//@RequestMapping("/hello")
public class HelloAnnotation {
    @RequestMapping("/anno/tation")
    public String hello() {
        return "annotation";
    }

//    @RequestMapping("/world.do")
//    public String helloworld() {
//        return "hello";
//    }
}
